package cc.z8g.browser.search.suggestions

import androidx.annotation.IntDef

/**
 * The suggestion choices.
 */
object SearchConst {
    const val SUGGESTION_BAIDU = 0
    const val SUGGESTION_GOOGLE = 1
    const val SUGGESTION_NONE = 2

    @Retention(AnnotationRetention.SOURCE)
    @IntDef(value = [SUGGESTION_NONE, SUGGESTION_GOOGLE, SUGGESTION_BAIDU])
    annotation class Suggestion

    const val ENGINE_BAIDU = 0
    const val ENGINE_GOOGLE = 1
    const val ENGINE_CUSTOM = 2
    const val ENGINE_BING = 3

    @Retention(AnnotationRetention.SOURCE)
    @IntDef(value = [ENGINE_CUSTOM, ENGINE_GOOGLE, ENGINE_BAIDU,ENGINE_BING])
    annotation class Engine
}
